package com.zs.lib_base.ext

fun Int.max(value: Int): Int {
    if (this > value) return this
    return value
}

fun Int.range(start: Int, end: Int): Boolean {
    return this in start..end
}